package main;

import inventory.view.InventoryDriver;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.UIManager;

import dbhandelling.Connections;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Connections con=new Connections();
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					UIManager.setLookAndFeel(
					        UIManager.getSystemLookAndFeelClassName());
					JFrame frame = new InventoryDriver();
					frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
					
					
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});

	}

}
